package com.health.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;

/**
 * 售后管理对象 mall_after_sale
 * 
 * @author ruoyi
 * @date 2025-10-30
 */
public class MallAfterSale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 售后ID */
    private Long afterSaleId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 售后类型: 1-退款, 2-退货退款, 3-换货 */
    @Excel(name = "售后类型: 1-退款, 2-退货退款, 3-换货")
    private Long type;

    /** 售后原因 */
    @Excel(name = "售后原因")
    private String reason;

    /** 申请金额 */
    @Excel(name = "申请金额")
    private BigDecimal amount;

    /** 状态: 0-待处理, 1-已同意, 2-已拒绝, 3-已完成 */
    @Excel(name = "状态: 0-待处理, 1-已同意, 2-已拒绝, 3-已完成")
    private String status;

    /** 凭证图片(JSON数组) */
    @Excel(name = "凭证图片(JSON数组)")
    private String images;

    /** 管理员备注 */
    @Excel(name = "管理员备注")
    private String adminRemark;

    public void setAfterSaleId(Long afterSaleId) 
    {
        this.afterSaleId = afterSaleId;
    }

    public Long getAfterSaleId() 
    {
        return afterSaleId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setAdminRemark(String adminRemark) 
    {
        this.adminRemark = adminRemark;
    }

    public String getAdminRemark() 
    {
        return adminRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("afterSaleId", getAfterSaleId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("type", getType())
            .append("reason", getReason())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("images", getImages())
            .append("adminRemark", getAdminRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
